package cn.tsinghua.comsmacitccntsinghua;

import java.util.ArrayList;
import java.util.List;

import cn.tsinghua.comsmacitccntsinghua.VO.BinVO;
import cn.tsinghua.comsmacitccntsinghua.VO.status.Status;
import cn.tsinghua.comsmacitccntsinghua.bean.BaseDataInfo;

/**
 * @Author yjl
 * @create 2021/10/13 13:37
 * 此类非常重要，接入tinker后代替原Application的职责
 */
public class DeviceInfo {
    public static final String packageName = "cn.tsinghua.comsmacitccntsinghua";
    public static String deviceId;
    public static String boardId;
    public static String customerId;
    public static boolean hasRegistered;
    public static List<BinVO> binVOSList = new ArrayList<>();
    public static final int mouthQuantity = 4;
    public static List<Boolean> usingList = new ArrayList<>();

    //启用List true为启用 false为不启用
    public static List<Boolean> getUsingList() {
        return usingList;
    }

    public static void setUsingList(List<Boolean> usingList) {
        DeviceInfo.usingList = usingList;
    }

    public static int getMouthQuantity() {
        return mouthQuantity;
    }

    //存储全部信息 baseDataInfo用于传输
    public static BaseDataInfo baseDataInfo;

    public static String getDeviceId() {
        return deviceId;
    }

    public static void setDeviceId(String deviceId) {
        DeviceInfo.deviceId = deviceId;
    }

    public static String getBoardId() {
        return boardId;
    }

    public static void setBoardId(String boardId) {
        DeviceInfo.boardId = boardId;
    }

    public static String getCustomerId() {
        return customerId;
    }

    public static void setCustomerId(String customerId) {
        DeviceInfo.customerId = customerId;
    }

    public static boolean isHasRegistered() {
        return hasRegistered;
    }

    public static void setHasRegistered(boolean hasRegistered) {
        DeviceInfo.hasRegistered = hasRegistered;
    }

    public static List<BinVO> getBinVOSList() {
        return binVOSList;
    }

    public static void setBinVOSList(List<BinVO> binVOSList) {
        DeviceInfo.binVOSList = binVOSList;
    }

    public static BaseDataInfo getBaseDataInfo() {
        return baseDataInfo;
    }

    public static void setBaseDataInfo(BaseDataInfo baseDataInfo) {
        DeviceInfo.baseDataInfo = baseDataInfo;
    }

}
